home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
HTOI.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
682b
|
32 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_HToI( cVar ) --> nIntege
PARAMETERS:
cVar : Hexadecimal Value (character string)
SHORT:
Convert hexadecimal to decimal integer.
DESCRIPTION:
_HToI() converts a Hexadecimal string to its Base 10 numeric equivalent.
NOTE:
EXAMPLE:
? _htoi('F') // returns 15
? _htoi('FF') // returns 255
? _HToI('5') // returns 5 (because 5 = 5 in base 10)
******************************************************************************/